FROM tencentdbforkv/tendisplus:latest

#ADD tendisplus.conf /data1/tendis/scripts/

ADD start.sh /data1/tendis/scripts/
RUN chmod 777 /data1/tendis/scripts/start.sh

ENV CLUSTER=yes
ENV REDIS_PASSWORD=tendisplus

VOLUME [ "/data1/tendis/51002" ]
EXPOSE 51002
#CMD ["/bin/bash", "-c", "/data1/tendis/scripts/start.sh"]